package me.joshua.tools4j.dal;

import java.util.List;

import me.joshua.tools4j.model.CheckPoint;
import me.joshua.tools4j.model.Subscription;

import org.springframework.data.jpa.repository.JpaRepository;

public interface CheckPointRepository extends JpaRepository<CheckPoint, Integer> {

	public List<CheckPoint> findByEnabled(Boolean enabled);

	public List<CheckPoint> findBySubscriptionAndEnabledOrderByOrderAsc(Subscription subscription, Boolean enabled);
}
